package View;

import javax.swing.JFrame;


public class WindowEnd extends JFrame{
	
	
	private int maxHeight = 300; 
	private int maxWidth = 225;
	private PanelEnd panelend = new PanelEnd(this);
	
	public WindowEnd(){
		
		this.setTitle("Game Over");
        this.setSize(maxHeight,maxWidth);
        this.setResizable(false);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setLocationRelativeTo(null);
        
		this.setContentPane(panelend);
		this.setVisible(true);
		
	}
	
}
